<div class="header-navigator"></div><div class='markdown-body'><pre class="language-bash"><code>(base) root@hecs-67846:~/pybind11-code# python
Python 3.9.12 (main, Apr  5 2022, 06:56:58)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
&gt;&gt;&gt; import classs
&gt;&gt;&gt; p = classs.Pet(&quot;Molly&quot;)
&gt;&gt;&gt; print(p)
&lt;classs.Pet object at 0x7fe21b234030&gt;
&gt;&gt;&gt; p.getName()
&#x27;Molly&#x27;
&gt;&gt;&gt; p.setName(&quot;Charly&quot;)
&gt;&gt;&gt; p.getName()
&#x27;Charly&#x27;
&gt;&gt;&gt; ?</code></pre><hr><div>123</div></div>